//
//  PlaceOrderTableViewCell.h
//  AmountBody
//
//  Created by smm on 2017/12/25.
//  Copyright © 2017年 RCMTM. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PlaceOrderModel.h"
#import "TypeModel.h"
#import "RulerShowView.h"
#import "PlaceOrderTypeModel.h"
#import "CustomSketchMapTableView.h"

extern CGFloat const ChooseText_Tag;
extern CGFloat const ChooseButton_Tag;
extern CGFloat const L_textTag;
typedef enum {
    PlaceOrderTypeForProductsNews = 200,
    PlaceOrderTypeForTechnologyNews,
    PlaceOrderTypeForCustomerNews,
    PlaceOrderTypeForAmountNews,
}PlaceOrderType;



typedef void (^SelectButtonBlock)(PlaceOrderTypeModel *model);
typedef void (^GYTextBlock)(NSString *textStr,BOOL isShow);

@interface PlaceOrderTableViewCell : UITableViewCell<UITextFieldDelegate,UITableViewDelegate,UITableViewDataSource>

@property (weak, nonatomic) IBOutlet UIImageView *backImage;
@property (weak, nonatomic) IBOutlet UIView *backView;
@property (strong, nonatomic) CustomSketchMapTableView *floatView;
@property (assign,nonatomic) PlaceOrderType type;
@property (assign,nonatomic) CGFloat cellH;
@property (strong, nonatomic) PlaceOrderModel *model;
@property (strong, nonatomic) PlaceOrderTypeModel *typeModel;
@property (assign, nonatomic) int needTag;
@property (strong,nonatomic) NSArray * needArray;
@property (strong,nonatomic) NSMutableArray * dataArray;

-(void)setCellWithModel:(PlaceOrderModel*)model;
+(void)blockForSelectButton:(SelectButtonBlock)selectBlock;
+(void)blockForGYText:(GYTextBlock)textBlock;

@end
